﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="news_add.aspx.cs" Inherits="EZCRS.HCMS.Web.manage.news.add_news" %>
<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%@ Register Src="../usercontrol/titlepage.ascx" TagName="titlepage" TagPrefix="uc2" %>
<%@ Register assembly="Book38.Net.CustomControl" namespace="Book38.Net.CustomControl" tagprefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    
    <title></title>
</head>
<body>
   <form id="formData" runat="server">
    <uc2:titlepage id="Titlepage1" runat="server" inittitle="<%$ Resources:Site, LabNewsAdd %>"></uc2:titlepage>
  
        <table width="100%" class="main-table" cellspacing="1">
            <tr class="line-odd">
                <td style="width: 10%; text-align: right;">
                    <asp:Label runat="server" ID="LabNewsTopics" Text="<%$ Resources:Site, LabNewsTopics %>"></asp:Label>：</td>
                <td>
                   <cc2:WebTextBox ID="txt_newtopics" runat="server" Width="300px" CssClass="text-line" MaxLength="100"></cc2:WebTextBox>
                    <asp:RequiredFieldValidator ID="ReqNewsTopics" runat="server" ControlToValidate="txt_newtopics"
                        ErrorMessage="<%$ Resources:Site, ReqNewsTopics %>"></asp:RequiredFieldValidator></td>
            </tr>
            <tr class="line-even">
                <td style="width: 10%; text-align: right;">
                    <asp:Label runat="server" ID="LabNewsClsType" Text="<%$ Resources:Site, LabNewsClsType %>"></asp:Label>：</td>
                <td>
                    <asp:DropDownList ID="drp_cls" runat="server" Width="200px" CssClass="text-line">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="ReqNewsClsType" runat="server" ControlToValidate="drp_cls"
                        ErrorMessage="<%$ Resources:Site, ReqNewsClsType %>" Display="Dynamic"></asp:RequiredFieldValidator>&nbsp;<a href="news_sort.aspx"><img src="../../image/modify.gif" border="0"/></a>
                    </td>
            </tr>
            <tr class="line-even">
               <td style="width: 10%; text-align: right;">
                     <asp:Label runat="server" ID="LabNewsSImg" Text="<%$ Resources:Site, LabNewsSImg %>"></asp:Label>：</td>
                <td style="height: 24px">
                    <asp:Literal ID="ltl_simg" runat="server"></asp:Literal><input id="txt_simg"  runat="server" type="file"　 Width="300px" CssClass="text-line" class="text-line"/></td>
            </tr>
            <tr class="line-odd">
                <td style="width: 10%; text-align: right;" valign="top">
                    <br />
                    <asp:Label runat="server" ID="LabNewsDetail" Text="<%$ Resources:Site, LabNewsDetail %>"></asp:Label>：</td>
                <td><FCKeditorV2:FCKeditor id="txt_newdetail" runat="server" height="450px" BasePath="../../fckeditor/"></FCKeditorV2:FCKeditor>
                </td>
            </tr>
           <tr class="line-even">
                <td style="width: 10%; text-align: right;">
                    <asp:Label runat="server" ID="LabNewsKey" Text="<%$ Resources:Site, LabNewsKey %>"></asp:Label>：</td>
                <td>
                    &nbsp;<cc2:WebTextBox ID="txt_newkey" runat="server" Width="300px" CssClass="text-line" MaxLength="200"></cc2:WebTextBox>（请用“<strong>|</strong>”分隔）</td>
            </tr>
            <tr class="line-even">
                <td colspan="2" align="center">
                <asp:HiddenField ID="HiddenField1" runat="server" />
                    <asp:HiddenField ID="NewId" runat="server"/>
                    &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                     <asp:Button ID="BtnAdd" runat="server" CssClass="bttn"
                        Text="<%$ Resources:Site, ButtonSave %>" OnClick="BtnAdd_Click" />
                   
                    <asp:Button ID="BtnDel" runat="server" CssClass="bttn" OnClick="BtnDel_Click" Text="<%$ Resources:Site, ButtonDel %>" Visible="false"/></td>
           </tr> 
        </table>
    

    </form>
</body>
</html>
